package com.imau.service;

import com.imau.bean.Brand;
import com.imau.bean.Page;

import java.util.List;

//业务逻辑
public interface BrandService {

    boolean add(Brand brand);

    boolean delete(Integer id);

    boolean edit(Brand brand);


    Brand getById(Integer id);
    List<Brand> queryAll();

    Page<Brand> queryBypage(Long currentPage, Long size);



    Page<Brand> queryBypageAndCondition(Long currentPage, Long size, Brand brand);

    boolean deleteBatchByIds(Integer ids[]);
}
